<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Helper
 *
 * @author DOWN
 */
class MyHelper {
    
    public static function getCategoryImage($type) {
        $text = 'ls_';
        switch ($type){
            case "sporcu":  $text.='sport';  break;
            case "unlu":    $text.='celebrity'; break;
            case "komik":   $text.='smile';  break;
            case "sehir":    $text.='city';  break;
            case "araba":    $text.='car';  break;
        }
        
        $text.= '.png';
        return '<img style="width: 35px;" class="list-icon" src="'.URL::to('assets/img/'.$text).'" />';
    }
}
